package StudyCode.summary.myfile;

import java.io.File;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class FileDeleteOnExit {
	public static void main(String[] args) {
		File file = new File("E:\\Copy\\test1.txt");
		file.deleteOnExit();
		System.out.println("删除成功。");
	}
}
